<?php

define('G_OUTPUT_REQUEST_KEY', true);
define('G_BIN_CHECK_INCLUDE', true);
include 'common.inc.php';

if(@mEmpty($_G_INPUT_['openid'], $_G_INPUT_['openkey'], $_G_INPUT_['pf']))
{
	die;
}

$tpl = Bin::getView('index.tpl.html', dirname(__FILE__));

$tpl->output();

/*
$tencentOpenApiObj = Bin::singtolen('TencentOpenApiClass', 'App');

$shortLinkObj = Bin::singtolen('ShortLinkClass', 'ShortLink');

$server = RUN_VERSION == 'ONLINE' ? ONLINE_SERVER_ADDRESS : TEST_SERVER_ADDRESS;

$tencentOpenApiObj->setBaseParam($server, $_G_INPUT_['openid'], $_G_INPUT_['openkey'], SHORT_LINK_APPID, SHORT_LINK_APPKEY, $_G_INPUT_['pf']);


p($tencentOpenApiObj->getData('/v3/user/get_info'),$tencentOpenApiObj->getData('/v3/user/is_vip'), $tencentOpenApiObj->getData('/v3/user/is_setup'));*/
